package org.paradise.dms.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.BatchSize;

/**
 * 
 * Description: 学生床位连接表
 * 
 * 
 * Copyright (c) 2008-2009 paraDise sTudio(DT). All Rights Reserved.
 * 
 * @version 1.0 2009-3-18 下午09:51:01 李双江（paradise.lsj@gmail.com）created
 * @Versio 1.1 增加dormitoryid字段
 */
@Entity
@Table(name = "studentbedlink")
@BatchSize(size = 50)
public class StudentBedLink {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int studentbedlinkid;
	private int accomodationstatusid; // 外连学生的住宿状态
	private int dormitorybedid; // 外连宿舍床位表

	public int getDormitorybedid() {
		return dormitorybedid;
	}

	public void setDormitorybedid(int dormitorybedid) {
		this.dormitorybedid = dormitorybedid;
	}

	private int studentid; // 外连学生表
	private int dormitoryid; // 公寓id

	public int getDormitoryid() {
		return dormitoryid;
	}

	public void setDormitoryid(int dormitoryid) {
		this.dormitoryid = dormitoryid;
	}

	private Date studentbedstartintime; // 学生床位开始入住时间
	private Date studentbedendouttime; // 学生床位结束入住时间

	public int getStudentbedlinkid() {
		return studentbedlinkid;
	}

	public void setStudentbedlinkid(int studentbedlinkid) {
		this.studentbedlinkid = studentbedlinkid;
	}

	public int getAccomodationstatusid() {
		return accomodationstatusid;
	}

	public void setAccomodationstatusid(int accomodationstatusid) {
		this.accomodationstatusid = accomodationstatusid;
	}

	public int getStudentid() {
		return studentid;
	}

	public void setStudentid(int studentid) {
		this.studentid = studentid;
	}

	public Date getStudentbedstartintime() {
		return studentbedstartintime;
	}

	public void setStudentbedstartintime(Date studentbedstartintime) {
		this.studentbedstartintime = studentbedstartintime;
	}

	public Date getStudentbedendouttime() {
		return studentbedendouttime;
	}

	public void setStudentbedendouttime(Date studentbedendouttime) {
		this.studentbedendouttime = studentbedendouttime;
	}
}
